package com.zbxx.springboot1.service;


import com.zbxx.springboot1.domain.User;

import java.util.List;

public interface UserService {

    //登录
    User login(String name, String password);

    //查询所有
    List<User> SelectUserAll();

    //删除用户
    int deleteUser(Long id);

    //查找
    List<User> findinfo(User user);

    //注册
    int reg(User user);

    //添加用户
    int addUser(User user);

    //编辑用户
    int editUser(User user);

    //查询修改用户
    User editUserId(Long id);
}
